package com.zusmart.core.condition.extend;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.zusmart.core.condition.Conditional;
import com.zusmart.core.plugin.Plugin;

//不存在某个plugin则实例化
@Documented
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Conditional(ConditionalUnHasPluginRule.class)
public @interface ConditionalUnHasPlugin {

	public Class<? extends Plugin> value() default Plugin.class;

}
